#ifndef REGISTRY_UTIL
#define REGISTRY_UTIL

#include <windows.h>
#include <string>

bool have_key(HKEY root_key, const TCHAR * sub_key);
DWORD reg_get_dword(HKEY root_key, const TCHAR * sub_key, const TCHAR * value_name, DWORD def_value);
std::wstring reg_get_string(HKEY root_key, const TCHAR * sub_key, const TCHAR * value_name);

#endif
